package com.yuebao.httpTest;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class HttpConfig {
    
    @Value("${chatBot.appid}")
    String appid;
    
    @Value("${chatBot.password}")
    String password;
    
    @Bean
    ChatBotClient chatBotClient(){
        return new ChatBotClient(appid,password);
    }
}
